import { NgModule } from '@angular/core';
import { SharedModule } from '@shared';
import { TeacherViewComponent } from './teacher/teacher-view.component';
import { TeacherListComponent } from './teacher/teacher-list.component';
import { TeacherDetailComponent } from './teacher/teacher-detail.component';
import { StudentViewComponent } from './student/student-view.component';
import { StudentListComponent } from './student/student-list.component';
import { StudentDetailComponent } from './student/student-detail.component';
import { UserViewComponent } from './user/user-view.component';
import { UserListComponent } from './user/user-list.component';

const COMPONENTS = [
  // 所有用户管理
  UserViewComponent,
  UserListComponent,
  // 教师管理
  TeacherViewComponent,
  TeacherListComponent,
  TeacherDetailComponent,
  // 学生管理
  StudentViewComponent,
  StudentListComponent,
  StudentDetailComponent,
];
@NgModule({
  declarations: [...COMPONENTS],
  imports: [SharedModule],
  exports: [...COMPONENTS],
})
export class SystemUserComponentModule {}
